package cn.lxg.dao.service;

import cn.lxg.dao.entity.SuperLottery;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lxg
 * @since 2024-12-02
 */
public interface ISuperLotteryService extends IService<SuperLottery> {
    /**
     * 获取同一周的
     * @param size
     * @return
     */
    List<SuperLottery> getLatelySizeBySameWeek(int size);

    //获取所有的红球
    List<Integer> getAllRedSet(List<SuperLottery> thirtyByWeek);

    //获取所有篮球
    List<Integer> getAllBlueSet(List<SuperLottery> thirtyByWeek);

    //获取同一天
    List<SuperLottery> getLatelySizeBySameDay(int size);

    //获取同一期
    List<SuperLottery> getLatelySizeBySamePeriod(int size);
    //最近的
    List<SuperLottery> getLatelySizeByDay(int size);
}
